roundedbox: Treat path segments differently
authorBenjamin Otte <otte@redhat.com>
Thu, 22 Jan 2015 14:47:36 +0000 (15:47 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 31 Jan 2015 00:49:37 +0000 (01:49 +0100)
commitf1ec76a9c1250b8d6f35dc199f0fc0452bcdaaf5
tree3ee623c26535f7451925a693e6740ff1833baed8
parent65dadd37fc4b98fe1da4c9b44f89e2d3ecf92921
roundedbox: Treat path segments differently

If a side of the box is 0px wide, make the corners owned by the adjacent
sides. This avoids spilling over of unwanted colors from the 0-width
side into the corner.

This is the fix that should actually have been part of
7e5ac3a58d0362080c4eb7c9b68ead99674c7b87 but my amazing amending skills
got rid of it when amending the test.
gtk/gtkroundedbox.c